<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Pilot Chart</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width height=device-height initial-scale=1">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="icon" type="image/png" href="img/pilot.png">

    <link rel="stylesheet" href="css/main.css">
    <!--[if IE 8]><script>alert("This template is not compatible with IE8");</script><![endif]-->
    <!--<script src="js/highcharts.js"></script> -->


    <script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>

    <script src="js/jquery-2.2.0.min.js"></script>
    <script src="js/moment.min.js"></script>
    <script src="js/moment-timezone-with-data.min.js"></script>


    <!--
      <script src="js/highstock.js"></script>
    -->
    <script src="js/highstock.src.js"></script>
    <script src="js/highcharts-more.js"></script>
    <script src="js/plugins/export-raw.js"></script>
    <script src="js/plugins/exporting.js"></script>
    <script src="js/plugins/offline-exporting.js"></script>
</head>
<body style="overflow: hidden; " onfocus="document.getElementById('highChartsContainer').focus();">
        
    <!--  Messes up y-axis after zooming out.
 	<script src="js/scalable-yxis.js"></script>
    <script src="js/zoomout-selection.js"></script>
    -->
    <!--div class="container-fluid" style="max-width: 100%; max-height:100%" -->
    <div id="graphDebug" style="display:none">
        <input type="file" id="file-input" />
    </div>
    <div id="highChartsContainer" class='highChart' style="width: 100wh; height: 100vh;border: 2px solid gray; font-size: 10px" tabindex="0">
    </div>
    </div>


    </div>
    <div id="theme">
        <script src="js/themes/dark-blue.js"></script>
        <!--
          <script src="js/themes/sand-signika.js"></script>
            <script src="js/themes/dark-unica.js"></script>
            <script src="js/themes/sand-signika.js"></script>
        -->
    </div>
    <script src="js/charting-parameters.js"></script>
    <script src="js/charting-highcharts.js"></script>
    <script src="js/plugins/current-price-indicator.js"></script>
    <script src="js/plugins/draggable-legend.js"></script>
    <script src="js/plugins/value-in-legend.js"></script>
    <script src="js/main-charting.js"></script>
    <script src="js/charting-percentile.js"></script>
    <script src="js/charting-intelligent-axis.js"></script>
    <script>if (window.module) module = window.module;</script>    
    <script src="js/charting-menu.js"></script>
<!--    <script src="js/charting-electron.js"></script>-->
    <script src="js/import-logs.js"></script>
    <script src="js/plugins/bloomberg-axis.js"></script>
<!--    <script src="js/menu_test.js"></script>-->



    <script type="text/javascript">
       //document.querySelector("highChartsContainer").style['-webkit-app-region'] = 'drag'
        displayChart();

        function debug() {
            var oldValue = highCharts.yAxis[0].options.labels.x;
            var updateValue = 0;

            highCharts.yAxis[0].update({ labels: { x: updateValue } });
            highCharts.redraw();
        }

        $(document).keydown(function (e) {
            if (e.ctrlKey && e.shiftKey && e.which == 221) {
                e.preventDefault();
                console.log("debug mode")
                debugToggle();
            }
        });
        
        function genMenu(){
            return menu;
        }
    </script>

</body>
</html>
